
/**
 * 主进程与渲染进程通信频道定义
 * Definition of communication channels between main process and rendering process
 */
const ipcApiRoute = {
  test: 'controller.example.test',
  getConfig: 'controller.setting.getConfigMap',
  getConfigKeys: 'controller.setting.getConfigKeys',
  
  selectFolder: 'controller.os.selectFolder',
  openDirectory: 'controller.os.openDirectory',

  parseTorrentC: 'controller.engine.parseTorrentC',
  getTaskList: 'controller.engine.getTaskList',
  addTaskUri: 'controller.engine.addTaskUri',
  addTorrent: 'controller.engine.addTorrent',
  addMetalink: 'controller.engine.addMetalink',
  stopAllTask: 'controller.engine.stopAllTask',
  startAllTask: 'controller.engine.startAllTask',
  stopByGid: 'controller.engine.stopByGid',
  startByGid: 'controller.engine.startByGid',
  removeTaskByGids: 'controller.engine.removeTaskByGids',
}

export {
  ipcApiRoute
}

